package org.ricks.common.conf;

/**
 * @author chenwei
 * @Title:
 * @Package
 * @Description:
 * @date 2021/8/1620:12
 */
@ConfProperties(prefix = "http.")
public class HttpConfig {

    //SSL
    public static Boolean sslEnabled = true;
    public static String keystorePath = "netty.keystore";
    public static String certificatePassword = "123456";
    public static String keystorePassword = "123456";


    public static Boolean getSslEnabled() {
        return sslEnabled;
    }

    public static void setSslEnabled(Boolean sslEnabled) {
        HttpConfig.sslEnabled = sslEnabled;
    }

    public static String getKeystorePath() {
        return keystorePath;
    }

    public static void setKeystorePath(String keystorePath) {
        HttpConfig.keystorePath = keystorePath;
    }

    public static String getCertificatePassword() {
        return certificatePassword;
    }

    public static void setCertificatePassword(String certificatePassword) {
        HttpConfig.certificatePassword = certificatePassword;
    }

    public static String getKeystorePassword() {
        return keystorePassword;
    }

    public static void setKeystorePassword(String keystorePassword) {
        HttpConfig.keystorePassword = keystorePassword;
    }
}
